const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  showDialog: state => state.app.showDialog,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  name: state => state.user.name,
  hasMenu: state => state.user.hasMenu,
  codesCheck: state => state.user.codes,
  topNavList: state => state.user.topNavList,
  applicationId: state => state.user.applicationId,
  permission_routes: state => state.permission.routes,
  topRouters: state => state.permission.topRouters,
  errorLogs: state => state.errorLog.logs
}
export default getters
